package com.indusfo.spc.pojo;

import com.indusfo.spc.common.pojo.BasePojo;

/**
 * @ProjectName: IEIS2-COM
 * @Package: com.indusfo.spc.pojo
 * @ClassName: MaterialXO
 * @Author: 熊冰
 * @Description: 物料
 * @Date: 2019/8/19 9:12
 * @Version: 1.0
 */
public class MaterialXO extends BasePojo {

    //原材料ID
    private Integer lMatId;
    //原材料编码
    private String vcMatCode;
    //规格
    private String vcModel;
    //供应商ID
    private Integer lSupplier;
    //原材料类ID
    private Integer lMatType;
    //品名/材质
    private String vcProjectName;
    //产品ID
    private Integer lProjectId;
    //计量单位
    private Integer lMatUnit;
    //原材料检测方案ID
    private Integer lMatPro;
    //说明
    private String vcRemark;
    //数据状态
    private Integer lDataState=1;
    //来源
    private Integer lSourceId;
    private String lSourceName;
    //条码规则
    private Integer vcBarrule;


    //物料类型
    private String mtype;
    //条码规则
    private String rule;
    //物料单位
    private String  matunit;

    /**
     * @author: louk
     * @Description: 徐工要求新增的字段
     * @date: 2019/10/14 9:57
     *
     */
    //版本号
    private String versionNumber;

    //图号
    private String figureNumber;
    //客户代码
    private String customerCode;
    //单位数量
    private Integer lMatUnitCount;
    //成品机型
    private String finishedProductModel;
    //资源数
    private Integer resourceNumber;
    //生产节拍
    private Integer productionTakt;
    //干燥时间
    private Integer dryingTime;
    //保有量
    private Integer inventory;
    //报工数量
    private Integer workNumber;

    /**
     * @author: louk
     * @param:
     * @Return:
     * @Description: :新增的两个字段
     * @date: 2019/10/14 13:19
     *
     */

    private String sortstr;
    private String sortord;

    /**
     * @author: louk
     * @Description:判断是高级查询还是模糊查询
     * @date: 2019/10/15 12:24
     *
     */
    private String flag;

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getVersionNumber() {
        return versionNumber;
    }

    public void setVersionNumber(String versionNumber) {
        this.versionNumber = versionNumber;
    }

    public String getFigureNumber() {
        return figureNumber;
    }

    public void setFigureNumber(String figureNumber) {
        this.figureNumber = figureNumber;
    }

    public String getCustomerCode() {
        return customerCode;
    }

    public void setCustomerCode(String customerCode) {
        this.customerCode = customerCode;
    }

    public Integer getlMatUnitCount() {
        return lMatUnitCount;
    }

    public void setlMatUnitCount(Integer lMatUnitCount) {
        this.lMatUnitCount = lMatUnitCount;
    }

    public String getFinishedProductModel() {
        return finishedProductModel;
    }

    public void setFinishedProductModel(String finishedProductModel) {
        this.finishedProductModel = finishedProductModel;
    }

    public Integer getResourceNumber() {
        return resourceNumber;
    }

    public void setResourceNumber(Integer resourceNumber) {
        this.resourceNumber = resourceNumber;
    }

    public Integer getProductionTakt() {
        return productionTakt;
    }

    public void setProductionTakt(Integer productionTakt) {
        this.productionTakt = productionTakt;
    }

    public Integer getDryingTime() {
        return dryingTime;
    }

    public void setDryingTime(Integer dryingTime) {
        this.dryingTime = dryingTime;
    }

    public Integer getInventory() {
        return inventory;
    }

    public void setInventory(Integer inventory) {
        this.inventory = inventory;
    }

    public Integer getWorkNumber() {
        return workNumber;
    }

    public void setWorkNumber(Integer workNumber) {
        this.workNumber = workNumber;
    }

    public String getlSourceName() {
        return lSourceName;
    }

    public void setlSourceName(String lSourceName) {
        this.lSourceName = lSourceName;
    }

    @Override
    public String getSortstr() {
        return sortstr;
    }

    @Override
    public void setSortstr(String sortstr) {
        this.sortstr = sortstr;
    }

    @Override
    public String getSortord() {
        return sortord;
    }

    @Override
    public void setSortord(String sortord) {
        this.sortord = sortord;
    }

    public Integer getlMatId() {
        return lMatId;
    }

    public void setlMatId(Integer lMatId) {
        this.lMatId = lMatId;
    }

    public String getVcMatCode() {
        return vcMatCode;
    }

    public void setVcMatCode(String vcMatCode) {
        this.vcMatCode = vcMatCode;
    }

    public String getVcModel() {
        return vcModel;
    }

    public void setVcModel(String vcModel) {
        this.vcModel = vcModel;
    }

    public Integer getlSupplier() {
        return lSupplier;
    }

    public void setlSupplier(Integer lSupplier) {
        this.lSupplier = lSupplier;
    }

    public Integer getlMatType() {
        return lMatType;
    }

    public void setlMatType(Integer lMatType) {
        this.lMatType = lMatType;
    }

    public String getVcProjectName() {
        return vcProjectName;
    }

    public void setVcProjectName(String vcProjectName) {
        this.vcProjectName = vcProjectName;
    }

    public Integer getlProjectId() {
        return lProjectId;
    }

    public void setlProjectId(Integer lProjectId) {
        this.lProjectId = lProjectId;
    }

    public Integer getlMatUnit() {
        return lMatUnit;
    }

    public void setlMatUnit(Integer lMatUnit) {
        this.lMatUnit = lMatUnit;
    }

    public Integer getlMatPro() {
        return lMatPro;
    }

    public void setlMatPro(Integer lMatPro) {
        this.lMatPro = lMatPro;
    }

    public String getVcRemark() {
        return vcRemark;
    }

    public void setVcRemark(String vcRemark) {
        this.vcRemark = vcRemark;
    }

    public Integer getlDataState() {
        return lDataState;
    }

    public void setlDataState(Integer lDataState) {
        this.lDataState = lDataState;
    }

    public Integer getlSourceId() {
        return lSourceId;
    }

    public void setlSourceId(Integer lSourceId) {
        this.lSourceId = lSourceId;
    }

    public Integer getVcBarrule() {
        return vcBarrule;
    }

    public void setVcBarrule(Integer vcBarrule) {
        this.vcBarrule = vcBarrule;
    }


    public String getMtype() {
        return mtype;
    }

    public void setMtype(String mtype) {
        this.mtype = mtype;
    }

    public String getRule() {
        return rule;
    }

    public void setRule(String rule) {
        this.rule = rule;
    }

    public String getMatunit() {
        return matunit;
    }

    public void setMatunit(String matunit) {
        this.matunit = matunit;
    }

    public String BasePojoToString() {
        return super.toString();
    }

    @Override
    public String toString() {
        return "MaterialXO{" +
                "lMatId=" + lMatId +
                ", vcMatCode='" + vcMatCode + '\'' +
                ", vcModel='" + vcModel + '\'' +
                ", lSupplier=" + lSupplier +
                ", lMatType=" + lMatType +
                ", vcProjectName='" + vcProjectName + '\'' +
                ", lProjectId=" + lProjectId +
                ", lMatUnit=" + lMatUnit +
                ", lMatPro=" + lMatPro +
                ", vcRemark='" + vcRemark + '\'' +
                ", lDataState=" + lDataState +
                ", lSourceId=" + lSourceId +
                ", lSourceName='" + lSourceName + '\'' +
                ", vcBarrule='" + vcBarrule + '\'' +
                ", mtype='" + mtype + '\'' +
                ", rule='" + rule + '\'' +
                ", matunit='" + matunit + '\'' +
                ", versionNumber='" + versionNumber + '\'' +
                ", figureNumber='" + figureNumber + '\'' +
                ", customerCode='" + customerCode + '\'' +
                ", lMatUnitCount='" + lMatUnitCount + '\'' +
                ", finishedProductModel='" + finishedProductModel + '\'' +
                ", resourceNumber=" + resourceNumber +
                ", productionTakt=" + productionTakt +
                ", dryingTime=" + dryingTime +
                ", inventory='" + inventory + '\'' +
                ", workNumber='" + workNumber + '\'' +
                ", sortstr='" + sortstr + '\'' +
                ", sortord='" + sortord + '\'' +
                ", flag='" + flag + '\'' +
                '}';
    }

    public MaterialXO() {
    }

    public MaterialXO( String vcMatCode,String vcProjectName,
                       String vcModel, String mtype,
                       String matunit,String lSourceName,
                       String rule, String versionNumber,
                       String figureNumber, String customerCode,
                       Integer lMatUnitCount, String finishedProductModel,
                       Integer resourceNumber, Integer productionTakt,
                       Integer dryingTime, Integer inventory, Integer workNumber) {
        this.vcMatCode=vcMatCode;
        this.vcModel = vcModel;
        this.vcProjectName = vcProjectName;
        this.lSourceName = lSourceName;
        this.mtype = mtype;
        this.rule = rule;
        this.matunit = matunit;
        this.versionNumber = versionNumber;
        this.figureNumber = figureNumber;
        this.customerCode = customerCode;
        this.lMatUnitCount = lMatUnitCount;
        this.finishedProductModel = finishedProductModel;
        this.resourceNumber = resourceNumber;
        this.productionTakt = productionTakt;
        this.dryingTime = dryingTime;
        this.inventory = inventory;
        this.workNumber = workNumber;
    }
}
